package com.activenetwork.smlite.testcase.login;



import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.annotations.Test;

import com.activenetwork.smlite.testcase.BaseCase;
import com.activenetwork.util.verification.checkEnable;
import com.activenetwork.util.verification.checkTag;
import com.activenetwork.util.verification.checkType;


public class Login001 extends BaseCase {
	static final Logger logger = LoggerFactory.getLogger(Login001.class);

	
	@Test
	public void Check_login_page_UI_element(){	
		loginBusiness.login(
				new checkType("LoginPage", "UserName", "text", Login001.class.getName()), 
				new checkType("LoginPage", "UserPassword", "password", Login001.class.getName()), 
				new checkEnable("LoginPage", "UserName", Login001.class.getName()),
				new checkEnable("LoginPage", "UserPassword", Login001.class.getName()),
				new checkTag("LoginPage", "ForgetPassword", "a", Login001.class.getName()),
				new checkTag("LoginPage", "LoginBtn", "button", Login001.class.getName()),
				new checkTag("LoginPage", "CreateAccountBtn", "button", Login001.class.getName()));
		
		loginBusiness.logout();
	
	
	}
}
